/**
 * Created by henian.xu on 2018/11/25.
 *
 */

import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);

import appData from './appData';

const store = () =>
    new Vuex.Store({
        // namespaced: true,
        modules: {
            appData,
        },
        state: {},
        getters: {},
        mutations: {},
        actions: {},
    });

export default store;
